package com.yunxi.model.customer;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 个人征信信息表
 * </p>
 *
 * @author 
 * @since 2019-09-04
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_custom_credit_reporting")
@ApiModel(value="CustomCreditReporting对象", description="个人征信信息表")
public class CustomCreditReporting implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "CREDIT_ID", type = IdType.UUID)
    private String creditId;

    @ApiModelProperty(value = "审核流水号")
    @TableField("CREDIT_CODE")
    private String creditCode;

    @ApiModelProperty(value = "姓名")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "手机号")
    @TableField("PHONE")
    private String phone;

    @ApiModelProperty(value = "身份证")
    @TableField("ID_CARD")
    private String idCard;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;

    private Date approvalTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "是否启用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "审核状态1待审批，2审批通过，3审批拒绝，4退回补件,5用户已确认,6用户已拒绝")
    @TableField("APPROVAL_STATUS")
    private Integer approvalStatus;

    @ApiModelProperty(value = "身份证正面")
    @TableField("ID_IMG_PATH1")
    private String idImgPath1;

    @ApiModelProperty(value = "身份证反面")
    @TableField("ID_IMG_PATH2")
    private String idImgPath2;

    @ApiModelProperty(value = "驾照正面")
    @TableField("LICENSE_IMG_PATH1")
    private String licenseImgPath1;

    @ApiModelProperty(value = "驾照反面")
    @TableField("LICENSE_IMG_PATH2")
    private String licenseImgPath2;

    @ApiModelProperty(value = "性别")
    @TableField("GENDER")
    private String gender;

    @ApiModelProperty(value = "婚姻状态 0：未识别，1：已婚，2：未婚")
    @TableField("MARITAL_STATUS")
    private Integer maritalStatus;

    @ApiModelProperty(value = "证件类型")
    @TableField("ID_CERT_TYPE")
    private Integer idCertType;

    @ApiModelProperty(value = "证件号")
    @TableField("ID_CERT_NO")
    private String idCertNo;

    @ApiModelProperty(value = "现居住地址")
    @TableField("ADDR")
    private String addr;

    @ApiModelProperty(value = "单位名称")
    @TableField("EMPLOYER_NAME")
    private String employerName;

    @ApiModelProperty(value = "工作单位地址")
    @TableField("EMPLOYER_ADDR")
    private String employerAddr;

    @ApiModelProperty(value = "紧急联系人")
    @TableField("EMERGENCY_CONTACT")
    private String emergencyContact;

    @ApiModelProperty(value = "与申请人关系")
    @TableField("RELATION")
    private String relation;

    @ApiModelProperty(value = "紧急联系人电话")
    @TableField("EMERGENCY_CONTACT_PHONE")
    private String emergencyContactPhone;

    @ApiModelProperty(value = "配偶姓名")
    @TableField("SPOUSE_NAME")
    private String spouseName;

    @ApiModelProperty(value = "配偶手机")
    @TableField("SPOUSE_PHONE")
    private String spousePhone;

    @ApiModelProperty(value = "配偶身份证")
    @TableField("SPOUSE_CERT_NO")
    private String spouseCertNo;

    @ApiModelProperty(value = "配偶现居住地址")
    @TableField("SPOUSE_ADDR")
    private String spouseAddr;

    @ApiModelProperty(value = "配偶单位名称")
    @TableField("SPOUSE_EMPLOYER_NAME")
    private String spouseEmployerName;

    @ApiModelProperty(value = "配偶工作单位地址")
    @TableField("SPOUSE_EMPLOYER_ADDR")
    private String spouseEmployerAddr;

    @ApiModelProperty(value = "公司名称")
    @TableField("COMPANY")
    private String company;

    @ApiModelProperty(value = "公司固话")
    @TableField("COMPANY_PHONE")
    private String companyPhone;

    @ApiModelProperty(value = "公司联系人电话")
    @TableField("COMPANY_LINK_PHONE")
    private String companyLinkPhone;

    @ApiModelProperty(value = "公司办公地址")
    @TableField("COMPANY_ADDR")
    private String companyAddr;

    private String businessCity;//办公城市

    @ApiModelProperty(value = "公司法人代表")
    @TableField("COMPANY_LEGAL_PERSON")
    private String companyLegalPerson;

    @ApiModelProperty(value = "公司法人性别")
    @TableField("COMPANY_LEGAL_GENDER")
    private String companyLegalGender;

    @ApiModelProperty(value = "公司法人手机号码")
    @TableField("COMPANY_LEGAL_PHONE")
    private String companyLegalPhone;

    @ApiModelProperty(value = "开票信息")
    @TableField("BILLING_INFO")
    private String billingInfo;

    @ApiModelProperty(value = "担保人姓名")
    @TableField("SURETY")
    private String surety;

    @ApiModelProperty(value = "担保人与申请人关系")
    @TableField("SURETY_RELATION")
    private String suretyRelation;

    @ApiModelProperty(value = "担保人手机")
    @TableField("SURETY_PHONE")
    private String suretyPhone;

    @ApiModelProperty(value = "担保人证件号")
    @TableField("SURETY_CERT_NO")
    private String suretyCertNo;

    @ApiModelProperty(value = "担保人现居住地址")
    @TableField("SURETY_ADDR")
    private String suretyAddr;

    private String guarantorCity;//担保人现居城市

    @ApiModelProperty(value = "担保人单位名称")
    @TableField("SURETY_EMPLOYER_NAME")
    private String suretyEmployerName;

    @ApiModelProperty(value = "担保人工作单位地址")
    @TableField("SURETY_EMPLOYER_ADDR")
    private String suretyEmployerAddr;

    private String guarantorCompanyCity;//担保人工作城市

    @ApiModelProperty(value = "(企业客户)紧急联系人")
    @TableField("COMPANY_EMERGENCY_CONTACT")
    private String companyEmergencyContact;

    @ApiModelProperty(value = "(企业客户)与申请人关系")
    @TableField("COMPANY_RELATION")
    private String companyRelation;

    @ApiModelProperty(value = "(企业客户)紧急联系电话")
    @TableField("COMPANY_EMERGENCY_PHONE")
    private String companyEmergencyPhone;

    @ApiModelProperty(value = "金融机构")
    @TableField("FINANCING_INSITUTION")
    private String financingInsitution;

    @ApiModelProperty(value = "产品类型")
    @TableField("PRODUCT_TYPE")
    private String productType;

    @ApiModelProperty(value = "车辆申请时间")
    @TableField("APPLY_TIME")
    private String applyTime;

    @ApiModelProperty(value = "车型")
    @TableField("VEHICLE_MODEL")
    private String vehicleModel;

    @ApiModelProperty(value = "车辆金额(发票价)")
    @TableField("VEHICLE_PRICE")
    private BigDecimal vehiclePrice;

    @ApiModelProperty(value = "车辆申请区域")
    @TableField("APPLY_AREA")
    private String applyArea;

    @ApiModelProperty(value = "银行流水PDF")
    @TableField("BANK_REORD_PATH")
    private String bankReordPath;

    @ApiModelProperty(value = "房产证材料1")
    @TableField("PREMISES_PERMIT_PATH1")
    private String premisesPermitPath1;

    @ApiModelProperty(value = "房产证材料2")
    @TableField("PREMISES_PERMIT_PATH2")
    private String premisesPermitPath2;

    @ApiModelProperty(value = "审核结果")
    @TableField("AUDIT_RESULT")
    private String auditResult;

    @ApiModelProperty(value = "成交价格  总价格")
    @TableField("TRANSACTION_PRICE")
    private BigDecimal transactionPrice;

    @ApiModelProperty(value = "附件包")
    @TableField("ACESSORY_BAG")
    private String acessoryBag;

    @ApiModelProperty(value = "GPS价格")
    @TableField("GPS_PRICE")
    private BigDecimal gpsPrice;

    @ApiModelProperty(value = "融资租赁合同金额")
    @TableField("CONTRACT_PRICE")
    private BigDecimal contractPrice;

    @ApiModelProperty(value = "首付比例")
    @TableField("DOWN_PAYMENT_RATIO")
    private Double downPaymentRatio;

    @ApiModelProperty(value = "保证金比例")
    @TableField("SURETY_AMOUNT_RATIO")
    private Double suretyAmountRatio;

    @ApiModelProperty(value = "保证金金额")
    @TableField("SURETY_AMOUNT")
    private BigDecimal suretyAmount;

    @ApiModelProperty(value = "留购价比例")
    @TableField("RETENTION_RATIO")
    private Double retentionRatio;

    @ApiModelProperty(value = "留购价金额")
    @TableField("RETENTION_AMOUNT")
    private BigDecimal retentionAmount;

    @ApiModelProperty(value = "租赁期限")
    @TableField("LEASE_TERM")
    private String leaseTerm;

    @ApiModelProperty(value = "融资本金")
    @TableField("FINANCING_PRINCIPAL")
    private BigDecimal financingPrincipal;

    @ApiModelProperty(value = "融资年利率")
    @TableField("FINANCING_RATE")
    private String financingRate;

    @ApiModelProperty(value = "直租牌照费用")
    @TableField("RENT_CAR_NO_PRICE")
    private BigDecimal rentCarNoPrice;

    @ApiModelProperty(value = "月租金")
    @TableField("MONTHLY_RENT")
    private BigDecimal monthlyRent;

    @ApiModelProperty(value = "首付金额")
    @TableField("DOWN_PAYMENT")
    private BigDecimal downPayment;

    @ApiModelProperty(value = "审核描述")
    private String approvalDesc;

    @ApiModelProperty(value = "客户类型")
    private String customerType;

    @ApiModelProperty(value = "退回补件信息")
    private String backInfo;

    private String leadsid;//订单编号

    private String sourceType;//渠道源

    private String vehiclebrand;//车品牌

    private String vehiclemodelid;//车型id

    private String vehiclemsrp;//指导价

    private String vehicletype;//车系

    private String vehicleStatus;//车辆状态

    private String adviceamount;//建议额度

    private String agerange;//车龄

    private String companytype;//企业类型

    private String creditcardstatus;//信用卡情况

    private String debtcardstatus;//银行卡情况

    private String delqstatus;//逾期情况

    private String documentuploading;//用户资料是否上传

    private String finProduct;////金融类型 1.金融机构2.银行分期

    private String finTerm;//分期情况

    private String imagepath;//图像相对路径

    private String intention;//客户意愿

    private String leadschannel;//渠道

    private String leadstime;//订单创建时间

    private String mortgagestatus;//房贷情况

    private String propertystatus;//住房情况

    private String residencystatus;//户口

    private String salary;//月薪

    private String score;//车信度得分

    private String socialsecuritystatus;//社保情况

    private String transactioncity;//提车城市

    private String transactiontime;//意向购车时间

    private String province;//居住省

    private String city;//居住地级市

    private String residenceprovince;//户籍省(户口所在地)

    private String redidencecity;//户籍市

    private String companyprovince;//单位所在省

    private String companycity;//单位所在地级市

    private String mainincome;//主要税后年收入

    private String urgencyrelation;//与紧急联系人关系

    private String licenseprovince;//上牌省

    private String licensecity;//上牌地级市

    private String personCreditPic; //个人征信图片
    private String businessLicensePic; //营业执照图片
    private String suretyCreditPic; //营业执照图片


    private Integer version;//提交版本 每个订单号从零开始

    private String companyLinkName;//公司联系人姓名

    private String companyLinkPosition;//公司联系人职位

    private String taxNo;//税务登记号

    private String depositBank;//开户银行

    private String bankCardNo;//企业开户银行账号

    private String taxpayerType;//纳税人类型

    private String invoiceTitle;//发票抬头

    private String invoiceAdd;//开票地址

    private String invoiceTel;//开票电话

    private String invoiceSendAdd;//发票寄送地点

    private String isLicense;//是否自备牌照

    private String education;//学历

    private String companyCode;//企业代码

    private String paymentType;//支付方式 1.全款2.分期

    private String monthManagePrice;//牌照管理费

    private String discountType;//贴息类型  1：百分比 2：固定金额

    private String discountValue;//贴息值

    private String tariff;//费率
}
